// 这是专门的路由


import VueRouter from 'vue-router'

import account from './account.vue'
import mount from './mount.vue'
import children from './children.vue'

// 创建router对象
var router = new VueRouter({
    // 设置路由匹配规则
    routes: [{
        path: '/account/',
        component: account,
        children: [{
            path: 'children',
            component: children
        }]
    }, {
        path: '/mount',
        component: mount
    }]


})

export default router